(function($) {
    // jQuery plugin definition
    $.fn.checkQuestion = function(params) {       
        /*MARGE DEFAULT AND USER PARAMETERS*/
        params = $.extend( {
            length_limit: 0, 
            message: 'Molimo unestite pitanje.'
        }, params );
        var $t = $(this);
        /*CHECK USER INPUT CHARACTER LENGTH*/
        if (!$t.val().length == params.length_limit) return true; else return false;
    };
})(jQuery);
